/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */

package com.martinkrasa.golftourweb.site.entity;


/**
 *
 * @author martin.krasa
 */
public class Tournament {
    
    private long id;
    private long seasonId;
    private String websiteId;
    private String name;
    private long type;

    public Tournament() {
        
    }
    
    public Tournament(Tournament existing) {
        this.id = existing.getId();
        this.seasonId = existing.getSeasonId();
        this.websiteId = existing.getWebsiteId();
        this.name = existing.getName();
        this.type = existing.getType();
    }


    public long getId() {
        return id;
    }

    public void setId(long id) {
        this.id = id;
    }

    public long getSeasonId() {
        return seasonId;
    }

    public void setSeasonId(long seasonId) {
        this.seasonId = seasonId;
    }

    public String getWebsiteId() {
        return websiteId;
    }

    public void setWebsiteId(String websiteId) {
        this.websiteId = websiteId;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public long getType() {
        return type;
    }

    public void setType(long type) {
        this.type = type;
    }

}
